import request from '@/utils/request'


export default{
  //生成统计数据
    getRegisterCount(day) {
        return request({
          url: `/statistics/daily/registerCount/${day}`,
          method: 'post',
        })
      },
      //显示数据
    addData(searchObj) {
        return request({
          url: `/statistics/daily/showData/${searchObj.type}/${searchObj.begin}/${searchObj.end}`,
          method: 'get',
        })
      },
}
